package io.fft.flight.modules.flight.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 主订单表
 *
 * @author likailun kellenli30541@gmail.com
 * @since 1.0.0 2024-06-19
 */
@Data
public class OrderExcel {
    @Excel(name = "主键")
    private Long id;
    @Excel(name = "订单编号")
    private String orderNo;
    @Excel(name = "officeNo")
    private String officeNo;
    @Excel(name = "生单pnr")
    private String bookPnr;
    @Excel(name = "大编码、非必须")
    private String bigPnr;
    @Excel(name = "新PNR")
    private String pnr;
    @Excel(name = "支付方式 YPAY-胤钱宝支付 必须")
    private Integer payType;
    @Excel(name = "政策ID 必须")
    private String dataSourcePolicyNo;
    @Excel(name = "出票类型，已出票订单必填，B2B or BSP 出票 非必须")
    private String ticketVoucherType;
    @Excel(name = "出票方式: 1-自动出票 2-手动出票")
    private Integer ticketChannels;
    @Excel(name = "自动出票提示信息")
    private String failureReason;
    @Excel(name = "航程类型 1-单程 2-往返 3-多程 必须")
    private Integer flightType;
    @Excel(name = "是否换编码出票 必须")
    private String ifChangePnr;
    @Excel(name = "交易流水号 必须")
    private String streamNumber;
    @Excel(name = "联系人 必须")
    private String contactName;
    @Excel(name = "联系人电话 必须")
    private String contactTel;
    @Excel(name = "联系人邮箱")
    private String contactEmail;
    @Excel(name = "联系人备注")
    private String remark;
    @Excel(name = "订单状态  2出票失败 3支付成功 4正在出票 5已出票 6已取消")
    private Integer orderStatus;
    @Excel(name = "创建者")
    private Long creator;
    @Excel(name = "创建时间")
    private Date createAte;
    @Excel(name = "修改人")
    private Long updater;
    @Excel(name = "修改时间")
    private Date updateDate;

}